package com.lwj.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class Evaluation {
    private Integer id;

    private String content;

    private Integer userId;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;

    private String score;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getScore() {
        return score;
    }

    public void setScore(String score) {
        this.score = score == null ? null : score.trim();
    }
}